//
//  YZClient+WaitPay.m
//  YZMicroStock
//
//  Created by apple on 17/7/25.
//  Copyright © 2017年 cqjr. All rights reserved.
//

#import "YZClient+WaitPay.h"

@implementation YZNetworkManager (WaitPay)

- (void)getWaitPayWithSuccess:(void(^)(NSURLSessionDataTask *task,id responseObject))success falilure:(void(^)(NSError *error))falilure {
    [self.mainNetwork cq_noCacheGET:URL_ROR_GET_WAITPAY parameters:@{@"device":@"3"} success:^(NSURLSessionDataTask *task, id responseObject) {
        if (success) {
            success(task,responseObject);
        }
    } failure:^(NSURLSessionDataTask *task, NSError *error) {
        if (falilure) {
            falilure(error);
        }
    }];
}

@end
